<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018-8-9
 * Time: 下午 04:16
 */
?>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>后台安装界面</title>
    <link rel="stylesheet" type="text/css" href="/public/static/css/bootstrap.min.css">
    <script src="/public/static/js/jquery-2.1.4.min.js"></script>
    <style>
        .base-form-div {
            width: 100%;
            height: auto;
            margin: 10px 5px 5px 10px;
            box-shadow: 0px 0 5px 10px;
        }

        .base-form-div button {
            margin: 2% auto;
        }

        .tip-div {
            width: 48%;
            float: left;
        }
        .tip-div button{
            margin: 20px 5px 20px 5px;
            width: 50%;
            height: 55px;
        }

        h6 {
            font-size: 4em;
        }
        .modal-footer p{
            font-size: 30px;
         }
    </style>
</head>
</html>
<body>
<div class="container-fluid">
    <div class="page-header">
        <h6 style="margin-left: 1em">欢迎！</h6>
    </div>
    <div class="pager">
        <div class="panel">
            <p style="margin: 10px;font-size: 3em">数据库安装</p>

            <div class="clearfix"></div>
            <div class="tip-div">
                <a href="/common/db/install.php?method=configInstall">
                    <button class="btn-default">安装配置文件</button>
                </a>
                <p>配置文件安装：将安装用户自定义数据。<em style="color: red;font-family: '华文宋体';">注意：已经存在的表将跳过。</em></p>
            </div>
            <div class="tip-div">
                <a href="/common/db/install.php?method=installSQLfile">
                    <button id="install" class="btn-danger">安装Sql文件</button>
                </a>
                <p>配置文件安装：将sql文件路径配置后安装。<em style="color: red;font-family: '华文宋体';">注意：请及时备份数据，否则如果数据库同名将覆盖所有数据。</em></p>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <p class="text-center">数据库安装后将正常访问！</p>
    </div>
</div>

</body>
